/*
* @Author: guoyayun
* @Date:   2017-07-16 10:17:30
* @Last Modified by:   guoyayun
* @Last Modified time: 2017-07-16 10:33:58
*/

'use strict';
var _mm = require('util/mm.js');
var _cart = {
	//获取购物车数量
	getCartCount : function(resolve, reject){
		_mm.request({
			url 		: _mm.getServerUrl('/cart/get_cart_product_count.do'),
			success 	: resolve,
			error 		: reject
		});
	}
}
module.exports = _cart;